package cloud.tianai.ram.policy.common.comparator;

import cloud.tianai.ram.policy.common.model.dto.Statement;

import java.util.Comparator;
import java.util.List;

/**
 * @Author: 天爱有情
 * @date 2022/3/21 16:02
 * @Description Statement排序
 */
public interface StatementComparator extends Comparator<Statement> {

    /**
     * 排序
     * @param statements statements
     */
    void sort(List<Statement> statements);
}
